from tkinter import *
x = int(input())
y = int(input())
k = int(input())
if x < 0 or y < 0 or y + 30 * k >= 500 or x + 20 * k >= 500:
    print('размер не подходит')
else:
    root = Tk()
root.title("program_7_1.ру")
root.geometry("3000x3000")

canvas = Canvas(bg="green", width=2000, height=2000)
canvas.pack(anchor=CENTER, expand=1)

canvas.create_rectangle(x, y, x+10*k, y+20*k, fill="#80CBC4", outline="#004D40")
canvas.create_rectangle(x+10*k, y+10*k, x+20*k, y+30*k, fill="#80CBC4", outline="#004D40")

root.mainloop()

